//change visibility of menu (along with all menu buttons)
// param0 = menu : which menu to change
// param1 = visible : true/false representing visibility

var menu=argument0;
var visibility= argument1;

menu.visible=visibility;
for(var i=0; i<array_length_1d(menu.buttons); i++;) {
    menu.buttons[i].visible=visibility;
}


